package com.qf.service.impl;

import com.qf.dao.CityDao;
import com.qf.pojo.Citys;
import com.qf.service.CityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CityServiceImpl implements CityService {

    @Autowired
    private  CityDao cityDao;
    @Override
    public List<Citys> seleAll(int pid) {
        return cityDao.selAll(pid);
    }

    @Override
    public Citys selcityById(int id) {
        return cityDao.selcityById(id);
    }
}
